package com.csun.cmny.provider.model.dto.inventory;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


@Data
public class OutStockDto {

    /*库存物品id*/
    @NotNull(message = "{stock.inventoryId.null}")
    private Long inventoryId;


    /*出库数量*/
    @NotNull(message = "{stock.quantity.out.null}")
    private Integer quantity;

    /*出库日期*/
    @NotEmpty(message = "{stock.stockDate.out.null}")
    private String stockDate;

    /*领取人*/
    @NotEmpty(message = "{stock.receiptor.out.null}")
    private String receiptor;

    /*备注*/
    private  String remark;
}
